package com.eureka.auth.service;

import com.alibaba.fastjson.JSONObject;
import com.eureka.bclass.base.BaseLoginUserInfo;
import com.eureka.bclass.base.BaseResult;

import javax.servlet.http.HttpServletRequest;

/**
 * @description: 用户授权服务
 * @author: lixing
 * @time: 2021/7/14 20:23
 */
public interface AuthService {
    /**
     * @Description 登录
     * @Author lixing
     * @Date 2021/6/17 9:11
     * @Param [qo]
     * @return com.eureka.bclass.base.BaseResult<java.lang.String>
     */
    BaseResult<JSONObject> login(BaseLoginUserInfo baseLoginUserInfo, HttpServletRequest request);

    /**
     * @Description 获取用户密码
     * @Author lixing
     * @Date 2021/6/19 22:11
     * @Param []
     * @return com.eureka.bclass.base.BaseResult<java.lang.String>
     */
    BaseResult<BaseLoginUserInfo> getUserPwd(BaseLoginUserInfo baseLoginUserInfo);
}
